Font Class

Represents a font face declaration which documents the properties of a font used by the author of a document.

Definition

Namespace: Independentsoft.Office.Odf.Styles
Assembly: Independentsoft.Office (in Independentsoft.Office.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#
public class Font
Inheritance
Object    Font

Constructors

Font Initializes a new instance of the Font class.

Properties

Adornments Specifies the characteristic of the font.
CharacterSet Specifies whether a font defines glyphs according to the semantics of [UNICODE] or not.
Family Specifies the family of the font.
GenericFontFamily Specifies the generic font family name. The defined values for the style:font-family-generic attribute are: -decorative: the family of decorative fonts. -modern: the family of modern fonts. -roman: the family roman fonts (with serifs). -script: the family of script fonts. -swiss: the family roman fonts (without serifs). -system: the family system fonts.
Name Specifies the unique name for a font declaration.
Panose1 Specifies the PANOSE-1 font classification number of the font.
Pitch Specifies whether a font has a fixed or variable width. The defined values are: -fixed: font has a fixed width. -variable: font has a variable width.
Size Specifies the font size.
Stretch Specifies the font stretch.
Style Specifies the font style.
Variant Specifies the font variant.
Weight Specifies the font weight.

Methods

Clone Creates a new object that is a deep copy of the current instance.
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString Converts the value of the current Font object to its equivalent string representation.
(Overrides ObjectToString)

See Also